package com.stylefeng.guns.modular.pay.service;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.core.util.AjaxRes;
import com.stylefeng.guns.modular.pay.dto.TransACDTO;
import com.stylefeng.guns.modular.pay.dto.TransParams;
import com.stylefeng.guns.modular.pay.model.Trans;

/**
 * <p>
 * 佳付通流水表 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-17
 */
public interface ITransService extends IService<Trans> {

	Trans findByPlatOrderCode(String orderCode);
	
	List<Trans> list(Page<Trans> page, TransParams params);

	Trans findByMchNoAndOrderCode(String mchNo, String orderCode);

	void update(Integer id,int status, String resCode, String resMsg);

	Trans findByOrderCode(String orderCode);
	
	AjaxRes orderSyn(Integer transId);

	TransACDTO getExportData(TransParams param);

	BigDecimal sumDailyAmount(String memberNo);


}
